package com.wpp.lagouserviceuser.param;

import com.wpp.core.param.BaseParam;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @author wpp25
 * @date 2021/5/16 18:42
 * @description：
 */
@Validated
public class UserParam extends BaseParam {

    @NotNull
    private String userName;
    @NotNull
    private String password;

    private String email;

    // 验证码
    private String code;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
